<template>
    <div class="box">
        <div class="header">
            <van-nav-bar title="我的订单" left-arrow @click-left="$router.back()" />
        </div>
        <div class="meddle">
            <van-address-list v-model="chosenAddressId" :list="list" 
                default-tag-text="默认" />
        </div>
        <van-submit-bar :price="3050" button-text="提交订单" @submit="onSubmit" />
    </div>
</template>
<script setup>
import { ref } from 'vue';
 const chosenAddressId = ref('1');
    const list = [
      {
        id: '1',
        name: '张三',
        tel: '13000000000',
        address: '浙江省杭州市西湖区文三路 138 号东方通信大厦 7 楼 501 室',
        isDefault: true,
      },
    ]
  
</script>